using System;
using System.Collections.Generic;
using System.Text;

namespace org.ngwt.user.client.rpc
{

    public class IncompatibleRemoteServiceException : Exception,IsSerializable
    {

        /**
         * Constructor used by RPC serialization. Note that the client side code will
         * always get a generic error message.
         */
        public IncompatibleRemoteServiceException()
            :base("This application is out of date, please click the refresh button on your browser")
        {

        }

        /**
         * Constructs an instance with the specified message.
         */
        public IncompatibleRemoteServiceException(String msg):base(msg)
        {
        }

        /**
         * Constructs an instance with the specified message and cause.
         */
        public IncompatibleRemoteServiceException(String msg, Exception cause):base(msg, cause)
        {
            
        }
    }
}
